
class ProceduralLeveling:
    """
    TEMP
    """
    @staticmethod
    def getHealthAtLevel(level):
        baseHealth = 100.0
        health = int(0.50 * level * baseHealth)
        return health
    
    @staticmethod
    def isCriticalHealth(entityStats):
        level = entityStats.level
        health = entityStats.healthLevel
        healthAtLevel = ProceduralLeveling.getHealthAtLevel(level)
        if health < 0.25 * healthAtLevel:
            return True
        else:
            return False